package com.xqgl.dao;

import java.sql.SQLException;

import com.xqgl.bean.Village;

public interface VillageDao {
	
	public Village selectVillage(String villagename);
	
	public int add(Village village) throws SQLException;
	
	public int update(Village village) throws SQLException;
	
	public boolean delete(int id) throws SQLException;
	
	public Village findById(int id) throws SQLException;
}
